import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'kyc_face_plugin_method_channel.dart';

abstract class KycFacePluginPlatform extends PlatformInterface {
  /// Constructs a KycFacePluginPlatform.
  KycFacePluginPlatform() : super(token: _token);

  static final Object _token = Object();

  static KycFacePluginPlatform _instance = MethodChannelKycFacePlugin();

  /// The default instance of [KycFacePluginPlatform] to use.
  ///
  /// Defaults to [MethodChannelKycFacePlugin].
  static KycFacePluginPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [KycFacePluginPlatform] when
  /// they register themselves.
  static set instance(KycFacePluginPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<void> init() {
    throw UnimplementedError('init() has not been implemented.');
  }

  Future<String?> verify(String key, String value) {
    throw UnimplementedError('verify() has not been implemented.');
  }

  Future<String?> getMetaInfos() {
    throw UnimplementedError('getMetaInfos() has not been implemented.');
  }
}
